from Rk_2211A.rk_610.Page import Page
import unittest,time
from selenium import webdriver

class Case(unittest.TestCase):

    def setUp(self):
        # 打开浏览器
        self.driver = webdriver.Edge()
        # 窗口最大化
        self.driver.maximize_window()

    def tearDown(self):
        time.sleep(3)
        # 退出浏览器
        self.driver.quit()

    def test_douban(self):
        po = Page(self.driver)
        po.luoji()

if __name__ == '__main__':
    unittest.main()